EncounterConditionValue

@Serializable
data class EncounterConditionValue(val id: Int, val name: String, val condition: Handle.Named<EncounterCondition>, val names: List<Name>) : NamedModel(source)

Encounter condition values are the various states that an encounter condition can have, i.e., time of day can be either day or night. See: https://pokeapi.co/docs/v2#encounter-condition-values

Parameters

id

The identifier for this resource.

name

The name for this resource.

condition

The condition this encounter condition value pertains to.

names

The name of this resource listed in different languages.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, condition: Handle.Named<EncounterCondition>, names: List<Name>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String
Link copied to clipboard